package com.sc.nft.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.CouponsListStatusEnum;
import com.sc.nft.enums.CouponsStatusEnum;
import com.sc.nft.enums.CouponsTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 批量空投选择优惠券DTO
 */
@Data
public class ActivityBatchIssueCouponsDTO {

    /**
     * id
     */
    @ApiModelProperty(value = "主键ID")
    private Long id;

    /**
     * 优惠券名称
     */
    @ApiModelProperty(value = "优惠券名称")
    private String title;

    /**
     * 消费金额
     */
    @ApiModelProperty(value = "消费金额")
    private BigDecimal fullMoney;

    /**
     * 减免金额
     */
    @ApiModelProperty(value = "减免金额")
    private BigDecimal money;
    /**
     * 优惠券折扣
     */
    @ApiModelProperty(value = "优惠券折扣")
    private BigDecimal proportion;

    /**
     * 券类型
     */
    @ApiModelProperty(value = "券类型")
    private CouponsTypeEnum couponsType;

    /**
     * 活动开始时间
     */
    @ApiModelProperty(value = "活动开始时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /**
     * 活动结束时间
     */
    @ApiModelProperty(value = "活动结束时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /**
     * 活动状态
     */
    @ApiModelProperty(value = "活动状态")
    private CouponsStatusEnum status;

    /**
     * 活动状态
     */
    @ApiModelProperty(value = "活动状态")
    private Boolean AdminStatus;

    /**
     * 优惠券状态Admin逻辑状态
     */
    @ApiModelProperty(value = "优惠券状态Admin逻辑状态")
    private CouponsListStatusEnum couponsListStatus;

    /**
     * 排序字段
     */
    @ApiModelProperty(value = "排序字段")
    private Integer sort;


    @ApiModelProperty(value = "领取最后时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date lastClaimTime;
}
